package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagGoodsRelationDao;
import com.frogs.ucenter.entity.TagGoodsRelation;
import com.frogs.ucenter.service.TagGoodsRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagGoodsRelationService")
public class TagGoodsRelationServiceImpl extends BaseServiceImpl<TagGoodsRelation> implements TagGoodsRelationService {
    @Autowired
    private TagGoodsRelationDao tagGoodsRelationDao;

    public TagGoodsRelationServiceImpl() {
        super();
    }

    public TagGoodsRelationDao getTagGoodsRelationDao() {
        return tagGoodsRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TagGoodsRelation> getBaseDao() {
        return tagGoodsRelationDao;
    }

    public void setTagGoodsRelationDao(TagGoodsRelationDao tagGoodsRelationDao) {
        this.tagGoodsRelationDao = tagGoodsRelationDao;
    }
}